<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class AdminGroups extends Model
{
    protected $fillable = ['group_name', 'description'];

    public $timestamps = false;

    protected $primaryKey = 'group_id';

    public function user(){
        return $this->hasMany('App\AdminUsers', 'group_id');
    }
}
